package com.ysh.domain.system;

import java.io.Serializable;

/*
    部门实体类
 */
public class Dept implements Serializable {
    private String id;
    private String deptName;    // 部门名称
    private String parentId;    // 所属部门id
    private Integer state;      // 状态

    private Dept parent;    // 指向当前部门所属的父部门

    public Dept getParent() {
        return parent;
    }

    public void setParent(Dept parent) {
        this.parent = parent;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }
}
